<?php

namespace common\enum;

class CommonEnum
{
    // 待处理
    const PENDING = 0;
    // 成功
    const SUCCESS = 1;
    // 失败
    const FAILED = 2;
    // 取消
    const CANCEL = 3;

    // 关闭,停用
    const DISABLE = 0;
    // 开启,启用
    const ENABLED = 1;
    // 删除
    const DELETE = 2;
    //维护
    const MAINTAIN = 3;

    // 未发布
    const NOPUBLISH = 0;
    // 发布
    const PUBLISH = 1;
    // 已停用
    const DEACTIVATE = 2;

    // PC
    const DEVICE_PC = 1;
    // H5
    const DEVICE_H5 = 2;

    //厅关闭
    const STATUS_DISABLE = 0;
    //厅正常
    const STATUS_ENABLED = 1;
    //厅冻结
    const STATUS_FREEZE = 2;
    //厅维护中
    const STATUS_MAINTAINING = 3;



    // =========游戏类型=========================
    const GAME_EGAME = 1; // 电子
    const GAME_LIVE = 2; // 视讯
    const GAME_SPORT = 3; // 体育
    const GAME_ESPORT = 4; // 电竞
    const GAME_LOTTERY = 5; // 彩票
    const GAME_CARD = 6; // 棋牌

    // 百分比，百倍化
    const PERCENT_TIMES = 100;

     //金额单位为厘
     const MONEY_RATE=1000;
     //毫秒转为秒
    const MILLISECOND=1000;
     //补单状态
    const REPAIR_STATUS_PENDING = 1; //补单中
    const REPAIR_STATUS_FINISH = 2; //补单完成

    const ORDER_STATUS_WAITING = 0;//等待
    const ORDER_STATUS_ACCEPT = 1;//接受
    const ORDER_STATUS_SETTLED = 2;//结算
    const ORDER_STATUS_CANCELED = 3;//取消
    const ORDER_STATUS_REFUSED = 4;//拒绝

}